package com.biz.primus.ms.coupon.event.couponType;

import com.biz.primus.ms.base.event.LocalEvent;
import lombok.Getter;

/**
 * 删除优惠券类型事件
 *
 * @author david-liu
 */
@Getter
public class DeleteCouponTypeEvent extends LocalEvent {
    private static final long serialVersionUID = -380169312838271027L;

    private Long couponTypeId;

    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public DeleteCouponTypeEvent(Object source, Long couponTypeId) {
        super(source);
        this.couponTypeId = couponTypeId;
    }
}
